package io.gitee.crud.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class DemoUserSaveDTO {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "部门不能为空")
    private String dept;
}
